From: Jan Djärv Date: Fri, 10 Nov 2006 07:54:22 +0000 (+0000) Subject: (x_set_fullscreen): Call fullscreen_hook if set. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~32195 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d761dd42361f65e10ce6b84696c2435c5a5a3d49;p=emacs.git (x_set_fullscreen): Call fullscreen_hook if set. --- diff --git a/src/frame.c b/src/frame.c index 836516d29cf..75992824fd3 100644 --- a/src/frame.c +++ b/src/frame.c @@ -3034,6 +3034,9 @@ x_set_fullscreen (f, new_value, old_value) f->want_fullscreen = FULLSCREEN_WIDTH; else if (EQ (new_value, Qfullheight)) f->want_fullscreen = FULLSCREEN_HEIGHT; + + if (fullscreen_hook != NULL) + fullscreen_hook (f); }